package com.wx.activitys.drp.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wx.activitys.drp.mapper.ProfitMapper;
import com.wx.activitys.drp.model.BProfit;
import com.wx.activitys.drp.service.ProfitService;

@Service("/ProfitService")
public class ProfitServiceImpl implements ProfitService {
    @Autowired
    ProfitMapper profitMapper;

	@Override
	public List<BProfit> findByRoleKey(String roleKey) {
		// TODO Auto-generated method stub
		return profitMapper.findByRoleKey(roleKey);
	}

	@Override
	public List<BProfit> linkFindMessageByMap(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return profitMapper.linkFindMessageByMap(map);
	}



}
